export interface Route {
  id?: string
  name: string
  path: string
  target: string
  methods: string[]
  auth_required: boolean
  rate_limit?: {
    enabled: boolean
    qps: number
    burst: number
  }
}

export interface Log {
  id: string
  timestamp: string
  level: string
  route: string
  method: string
  path: string
  client_ip: string
  status_code: number
  username?: string
}

export interface Metrics {
  totalRequests: number
  activeConnections: number
  errorRate: number
}


